<!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/html" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
	<link rel="stylesheet" href="/css/index.css"/>
	<link rel="stylesheet" href="/css/font-awesome.min.css"/>
	<script src="/js/jquery-1.11.2.min.js"></script>
	<script src="/js/main.js"></script>
	<title>易书网</title>
</head>
<style>
	.help-main {
		padding: 0;
	}
	select{
		padding: 3px 10px;
	}
</style>
<body >

<!--引入   头部片段 -->
<div  th:replace="mall/common/mall_common :: header"></div>


<div class="help-wrap">
	<div class="container clearfix">
		<div class="bread">当前位置：
			<a href="index.html">首页</a> >
			<a href="member.html">个人中心</a> >
			<a href="edit.html">编辑发布</a>
		</div>
		<div  th:replace="mall/common/mall_common :: left"></div>
		<div class="help-r fr">
			<div class="help-item-title">发布书籍</div>
			<div class="help-main">
				<form action="" method="post">

					<div class="product-edit-item clearfix" th:each="classify:${classifyNode}">
						<div class="product-edit-item-l fl">
							<div class="fr" th:text="'<i class='middle'>*</i>'+${classify.classifyName}+':'"><i class="middle">*</i>图书分类1：</div>
						</div>
						<div class="product-edit-item-r fl">
							<select name=""  >
								<option value="" th:text="'图书所属'+${classify.classifyName}">图书所属学校</option>
								<option value="0"  th:each="node:${classify.classifyList}" th:text="${node.classifyName}" th:value="${node.id}">分类11</option>
							</select>
						</div>
					</div>

					<div class="product-edit-item clearfix">
						<div class="product-edit-item-l fl clearfixc">
							<div class="fr"><i class="middle">*</i>图书名称：</div>
						</div>
						<div class="product-edit-item-r fl">
							<input type="text" name="book_name"  style="width: 410px">
							<p >图书标题名称长度至少3个字符，最长50个汉字</p>
						</div>
					</div>
					<div class="product-edit-item clearfix">
						<div class="product-edit-item-l fl clearfixc">
							<div class="fr"><i class="middle">*</i>图书价格：</div>
						</div>
						<div class="product-edit-item-r fl">
							<input type="text" name="price" value="150.00" style="width: 60px"><em class="add-on"><i class="icon-renminbi"></i></em>
							<p >价格必须是0.01~9999999之间的数字，且不能高于市场价。<br>此价格为图书实际销售价格，如果图书存在规格，该价格显示最低价格。</p>
						</div>
					</div>
					<div class="product-edit-item clearfix">
						<div class="product-edit-item-l fl clearfixc">
							<div class="fr"><i class="middle">*</i>图书描述：</div>
						</div>
						<div class="product-edit-item-r fl">
							<textarea name="bookDescribe"  cols="30" rows="10"></textarea>
							<p >请如实描述你所发布书籍的详细情况，以方便其他会员购买！</p>
						</div>
					</div>
					<div class="product-edit-item clearfix">
						<div class="product-edit-item-l fl clearfixc">
							<div class="fr"><i class="middle">*</i>上传封面：</div>
						</div>
						<div class="product-edit-item-r fl">
							<div id="preview">
								<img id="imghead" border=0 src="images/book.jpg" />
							</div>
							<input type="file" onchange="previewImage(this)" />
							<p >请上传图书封面，尽量保持图片清晰</p>
						</div>
					</div>
					<div class="product-edit-item clearfix">
						<div class="product-edit-item-l fl clearfixc" style="border: none;border-top:1px solid #E6E6E6">
						</div>
						<div class="product-edit-item-r fl" style="border: none;border-top:1px solid #E6E6E6">
						</div>
					</div>
					<div class="upload"><label><input type="submit" value="点击保存"></label></div>
				</form>





			</div>
		</div>
	</div>
</div>




<<!--引入 尾部片段-->
<div  th:replace="mall/common/mall_common :: footer"></div>


</body>
</html>